package com.atom.common.entity.base;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Title: TaskDefinition
 * Description: 任务定义基表
 * @author WEWE
 * @date 2016年5月25日 下午2:56:49
 * @version 1.0
 */
@Entity
@Table(name="atm_common_base_taskdef") 
public class TaskDefinitionDO implements Serializable {
  
  /** serialVersionUID*/
  private static final long serialVersionUID = 1L;

  /** 主键*/
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)    
  @Column(name="ID")
  private int id;
  
  /** 活动定义KEY*/
  @Column(name="TASK_DEF_KEY")
  private String taskDefinitionKey;
  
  /** 任务名称(工作步骤)*/
  @Column(name="TASK_NAME")
  private String taskName;
  
  /** 是否实活动*/
  @Column(name="IS_REAL")
  private boolean isReal;
  
  /** 流程图类型*/
  @Column(name="DIAGRAM_TYPE")
  private int diagramType;
  
  /** 父任务ID*/
  @Column(name="SUPER_TASK_KEY")
  private String superTaskKey;

  /** 所属流程ID*/
  @Column(name="PROC_DEF_KEY")
  private String processDefinitionKey;
  
  public String getSuperTaskKey() {
    return superTaskKey;
  }

  public void setSuperTaskKey(String superTaskKey) {
    this.superTaskKey = superTaskKey;
  }

  public TaskDefinitionDO() {
    super();
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getTaskDefinitionKey() {
    return taskDefinitionKey;
  }

  public void setTaskDefinitionKey(String taskDefinitionKey) {
    this.taskDefinitionKey = taskDefinitionKey;
  }

  public String getTaskName() {
    return taskName;
  }

  public void setTaskName(String taskName) {
    this.taskName = taskName;
  }

  public boolean isReal() {
    return isReal;
  }

  public void setReal(boolean isReal) {
    this.isReal = isReal;
  }

  public String getProcessDefinitionKey() {
    return processDefinitionKey;
  }

  public void setProcessDefinitionKey(String processDefinitionKey) {
    this.processDefinitionKey = processDefinitionKey;
  }

  public int getDiagramType() {
    return diagramType;
  }

  public void setDiagramType(int diagramType) {
    this.diagramType = diagramType;
  }
  
  
}
